< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03020410.xhp

(section: kill) (bookmark: bm_id3153360)
Kill statement

Kill ステートメント

Kill Statement [Runtime]
Kill ステートメント [実行時](hd_id3153360.1)

Deletes a file from a disk.
ディスク上にあるファイルを削除します。(par_id3151211.2)

(/section: kill)

Syntax:
構文:(hd_id3150767.3)

Kill File As String
Kill File As String(par_id3154685.4)

Parameters:
パラメータ:(hd_id3153194.5)

File: Any string expression that contains an unambiguous file specification. You can also use URL notation.
File: ファイルの位置を明示的に指定した文字列表式。またURL 指定を用いることもできます。(par_id3150440.6)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

(embed text/sbasic/shared/00000003.xhp#err76 : linkinfo)

76 Path not found
76 パスが見つかりません (par_id3150477.75)

(/embed text/sbasic/shared/00000003.xhp#err76)

Example:
例:(hd_id3148645.7)

sub ExampleKill
sub ExampleKill(par_id3154320.8)

Kill "C:\datafile.dat" REM File must be created in advance
Kill "C:\datafile.dat" REM 該当ファイルは事前に作成しておかなければなりません。(par_id3163710.9)

end sub
end sub(par_id3145749.10)


< Prev / Next >